home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / ci.z / ci
Encoding:
Text File  |  2002-10-03  |  30.2 KB  |  595 lines

  1.  
  2.  
  3.  
  4. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ci - check in RCS revisions
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      cccciiii [_o_p_t_i_o_n_s] _f_i_l_e ...
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      cccciiii stores new revisions into RCS files.  Each pathname matching an RCS
  16.      suffix is taken to be an RCS file.  All others are assumed to be working
  17.      files containing new revisions.  cccciiii deposits the contents of each working
  18.      file into the corresponding RCS file.  If only a working file is given,
  19.      cccciiii tries to find the corresponding RCS file in an RCS subdirectory and
  20.      then in the working file's directory.  For more details, see FILE NAMING
  21.      below.
  22.  
  23.      For cccciiii to work, the caller's login must be on the access list, except if
  24.      the access list is empty or the caller is the superuser or the owner of
  25.      the file.  To append a new revision to an existing branch, the tip
  26.      revision on that branch must be locked by the caller.  Otherwise, only a
  27.      new branch can be created.  This restriction is not enforced for the
  28.      owner of the file if non-strict locking is used (see rrrrccccssss(1)).  A lock
  29.      held by someone else may be broken with the rrrrccccssss command.
  30.  
  31.      Unless the ----ffff option is given, cccciiii checks whether the revision to be
  32.      deposited differs from the preceding one.  If not, instead of creating a
  33.      new revision cccciiii reverts to the preceding one.  To revert, ordinary cccciiii
  34.      removes the working file and any lock; cccciiii ----llll keeps and cccciiii ----uuuu removes any
  35.      lock, and then they both generate a new working file much as if ccccoooo ----llll or
  36.      ccccoooo ----uuuu had been applied to the preceding revision.  When reverting, any ----nnnn
  37.      and ----ssss options apply to the preceding revision.
  38.  
  39.      For each revision deposited, cccciiii prompts for a log message.  The log
  40.      message should summarize the change and must be terminated by end-of-file
  41.      or by a line containing .... by itself.  If several files are checked in cccciiii
  42.      asks whether to reuse the previous log message.  If the standard input is
  43.      not a terminal, cccciiii suppresses the prompt and uses the same log message
  44.      for all files.  See also ----mmmm.
  45.  
  46.      If the RCS file does not exist, cccciiii creates it and deposits the contents
  47.      of the working file as the initial revision (default number:  1111....1111).  The
  48.      access list is initialized to empty.  Instead of the log message, cccciiii
  49.      requests descriptive text (see ----tttt below).
  50.  
  51.      The number _r_e_v of the deposited revision can be given by any of the
  52.      options ----ffff, ----iiii, ----IIII, ----jjjj, ----kkkk, ----llll, ----MMMM, ----qqqq, ----rrrr, or ----uuuu.  _r_e_v may be symbolic,
  53.      numeric, or mixed.  Symbolic names in _r_e_v must already be defined; see
  54.      the ----nnnn and ----NNNN options for assigning names during checkin.  If _r_e_v is $$$$,
  55.      cccciiii determines the revision number from keyword values in the working
  56.      file.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  71.  
  72.  
  73.  
  74.      If _r_e_v begins with a period, then the default branch (normally the trunk)
  75.      is prepended to it.  If _r_e_v is a branch number followed by a period, then
  76.      the latest revision on that branch is used.
  77.  
  78.      If _r_e_v is a revision number, it must be higher than the latest one on the
  79.      branch to which _r_e_v belongs, or must start a new branch.
  80.  
  81.      If _r_e_v is a branch rather than a revision number, the new revision is
  82.      appended to that branch.  The level number is obtained by incrementing
  83.      the tip revision number of that branch.  If _r_e_v indicates a non-existing
  84.      branch, that branch is created with the initial revision numbered _r_e_v....1111.
  85.  
  86.      If _r_e_v is omitted, cccciiii tries to derive the new revision number from the
  87.      caller's last lock.  If the caller has locked the tip revision of a
  88.      branch, the new revision is appended to that branch.  The new revision
  89.      number is obtained by incrementing the tip revision number.  If the
  90.      caller locked a non-tip revision, a new branch is started at that
  91.      revision by incrementing the highest branch number at that revision.  The
  92.      default initial branch and level numbers are 1111.
  93.  
  94.      If _r_e_v is omitted and the caller has no lock, but owns the file and
  95.      locking is not set to _s_t_r_i_c_t, then the revision is appended to the
  96.      default branch (normally the trunk; see the ----bbbb option of rrrrccccssss(1)).
  97.  
  98.      Exception: On the trunk, revisions can be appended to the end, but not
  99.      inserted.
  100.  
  101. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  102.      ----rrrr[_r_e_v]
  103.           checks in revision _r_e_v, releases the corresponding lock, and removes
  104.           the working file.  This is the default.
  105.  
  106.           The bare ----rrrr option (without any revision) has an unusual meaning in
  107.           cccciiii.  With other RCS commands, a bare ----rrrr option specifies the most
  108.           recent revision on the default branch, but with cccciiii, a bare ----rrrr option
  109.           also releases a lock and removes the working file, and is used to
  110.           override any default ----llll or ----uuuu options established by shell aliases
  111.           or scripts.
  112.  
  113.      ----llll[_r_e_v]
  114.           works like ----rrrr, except it performs an additional ccccoooo ----llll for the
  115.           deposited revision.  Thus, the deposited revision is immediately
  116.           checked out again and locked.  This is useful for saving a revision
  117.           although one wants to continue editing it after the checkin.
  118.  
  119.      ----uuuu[_r_e_v]
  120.           works like ----llll, except that the deposited revision is not locked.
  121.           This lets one read the working file immediately after checkin.
  122.  
  123.           The ----llll, bare ----rrrr, and ----uuuu options are mutually exclusive and silently
  124.           override each other.  For example, cccciiii ----uuuu ----rrrr is equivalent to cccciiii ----rrrr
  125.           because bare ----rrrr overrides ----uuuu.
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  137.  
  138.  
  139.  
  140.      ----ffff[_r_e_v]
  141.           forces a deposit; the new revision is deposited even it is not
  142.           different from the preceding one.
  143.  
  144.      ----kkkk[_r_e_v]
  145.           searches the working file for keyword values to determine its
  146.           revision number, creation date, state, and author (see ccccoooo(1)), and
  147.           assigns these values to the deposited revision, rather than
  148.           computing them locally.  It also generates a default login message
  149.           noting the login of the caller and the actual checkin date.  This
  150.           option is useful for software distribution.  A revision that is sent
  151.           to several sites should be checked in with the ----kkkk option at these
  152.           sites to preserve the original number, date, author, and state.  The
  153.           extracted keyword values and the default log message may be
  154.           overridden with the options ----dddd, ----mmmm, ----ssss, ----wwww, and any option that
  155.           carries a revision number.
  156.  
  157.      ----qqqq[_r_e_v]
  158.           quiet mode; diagnostic output is not printed.  A revision that is
  159.           not different from the preceding one is not deposited, unless ----ffff is
  160.           given.
  161.  
  162.      ----iiii[_r_e_v]
  163.           initial checkin; report an error if the RCS file already exists.
  164.           This avoids race conditions in certain applications.
  165.  
  166.      ----jjjj[_r_e_v]
  167.           just checkin and do not initialize; report an error if the RCS file
  168.           does not already exist.
  169.  
  170.      ----IIII[_r_e_v]
  171.           interactive mode; the user is prompted and questioned even if the
  172.           standard input is not a terminal.
  173.  
  174.      ----dddd[_d_a_t_e]
  175.           uses _d_a_t_e for the checkin date and time.  The _d_a_t_e is specified in
  176.           free format as explained in ccccoooo(1).  This is useful for lying about
  177.           the checkin date, and for ----kkkk if no date is available.  If _d_a_t_e is
  178.           empty, the working file's time of last modification is used.
  179.  
  180.      ----MMMM[_r_e_v]
  181.           Set the modification time on any new working file to be the date of
  182.           the retrieved revision.  For example, cccciiii ----dddd ----MMMM ----uuuu _f does not alter
  183.           _f's modification time, even if _f's contents change due to keyword
  184.           substitution.  Use this option with care; it can confuse mmmmaaaakkkkeeee(1).
  185.  
  186.      ----mmmm_m_s_g
  187.           uses the string _m_s_g as the log message for all revisions checked in.
  188.           By convention, log messages that start with #### are comments and are
  189.           ignored by programs like GNU Emacs's vvvvcccc package.  Also, log messages
  190.           that start with {{{{_c_l_u_m_p_n_a_m_e}}}} (followed by white space) are meant to
  191.           be clumped together if possible, even if they are associated with
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  203.  
  204.  
  205.  
  206.           different files; the {{{{_c_l_u_m_p_n_a_m_e}}}} label is used only for clumping,
  207.           and is not considered to be part of the log message itself.
  208.  
  209.      ----nnnn_n_a_m_e
  210.           assigns the symbolic name _n_a_m_e to the number of the checked-in
  211.           revision.  cccciiii prints an error message if _n_a_m_e is already assigned to
  212.           another number.
  213.  
  214.      ----NNNN_n_a_m_e
  215.           same as ----nnnn, except that it overrides a previous assignment of _n_a_m_e.
  216.  
  217.      ----ssss_s_t_a_t_e
  218.           sets the state of the checked-in revision to the identifier _s_t_a_t_e.
  219.           The default state is EEEExxxxpppp.
  220.  
  221.      ----tttt_f_i_l_e
  222.           writes descriptive text from the contents of the named _f_i_l_e into the
  223.           RCS file, deleting the existing text.  The _f_i_l_e may not begin with
  224.           ----.
  225.  
  226.      ----tttt----_s_t_r_i_n_g
  227.           Write descriptive text from the _s_t_r_i_n_g into the RCS file, deleting
  228.           the existing text.
  229.  
  230.           The ----tttt option, in both its forms, has effect only during an initial
  231.           checkin; it is silently ignored otherwise.
  232.  
  233.           During the initial checkin, if ----tttt is not given, cccciiii obtains the text
  234.           from standard input, terminated by end-of-file or by a line
  235.           containing .... by itself.  The user is prompted for the text if
  236.           interaction is possible; see ----IIII.
  237.  
  238.           For backward compatibility with older versions of RCS, a bare ----tttt
  239.           option is ignored.
  240.  
  241.      ----TTTT   Set the RCS file's modification time to the new revision's time if
  242.           the former precedes the latter and there is a new revision; preserve
  243.           the RCS file's modification time otherwise.  If you have locked a
  244.           revision, cccciiii usually updates the RCS file's modification time to the
  245.           current time, because the lock is stored in the RCS file and
  246.           removing the lock requires changing the RCS file.  This can create
  247.           an RCS file newer than the working file in one of two ways:  first,
  248.           cccciiii ----MMMM can create a working file with a date before the current time;
  249.           second, when reverting to the previous revision the RCS file can
  250.           change while the working file remains unchanged.  These two cases
  251.           can cause excessive recompilation caused by a mmmmaaaakkkkeeee(1) dependency of
  252.           the working file on the RCS file.  The ----TTTT option inhibits this
  253.           recompilation by lying about the RCS file's date.  Use this option
  254.           with care; it can suppress recompilation even when a checkin of one
  255.           working file should affect another working file associated with the
  256.           same RCS file.  For example, suppose the RCS file's time is 01:00,
  257.           the (changed) working file's time is 02:00, some other copy of the
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  269.  
  270.  
  271.  
  272.           working file has a time of 03:00, and the current time is 04:00.
  273.           Then cccciiii ----dddd ----TTTT sets the RCS file's time to 02:00 instead of the usual
  274.           04:00; this causes mmmmaaaakkkkeeee(1) to think (incorrectly) that the other
  275.           copy is newer than the RCS file.
  276.  
  277.      ----wwww_l_o_g_i_n
  278.           uses _l_o_g_i_n for the author field of the deposited revision.  Useful
  279.           for lying about the author, and for ----kkkk if no author is available.
  280.  
  281.      ----VVVV   Print RCS's version number.
  282.  
  283.      ----VVVV_n  Emulate RCS version _n.  See ccccoooo(1) for details.
  284.  
  285.      ----xxxx_s_u_f_f_i_x_e_s
  286.           specifies the suffixes for RCS files.  A nonempty suffix matches any
  287.           pathname ending in the suffix.  An empty suffix matches any pathname
  288.           of the form RRRRCCCCSSSS////_p_a_t_h or _p_a_t_h_1////RRRRCCCCSSSS////_p_a_t_h_2.  The ----xxxx option can specify
  289.           a list of suffixes separated by ////.  For example, ----xxxx,,,,vvvv//// specifies two
  290.           suffixes:  ,,,,vvvv and the empty suffix.  If two or more suffixes are
  291.           specified, they are tried in order when looking for an RCS file; the
  292.           first one that works is used for that file.  If no RCS file is found
  293.           but an RCS file can be created, the suffixes are tried in order to
  294.           determine the new RCS file's name.  The default for _s_u_f_f_i_x_e_s is
  295.           installation-dependent; normally it is ,,,,vvvv//// for hosts like Unix that
  296.           permit commas in filenames, and is empty (i.e. just the empty
  297.           suffix) for other hosts.
  298.  
  299.      ----zzzz_z_o_n_e
  300.           specifies the date output format in keyword substitution, and
  301.           specifies the default time zone for _d_a_t_e in the ----dddd_d_a_t_e option.  The
  302.           _z_o_n_e should be empty, a numeric UTC offset, or the special string LLLLTTTT
  303.           for local time.  The default is an empty _z_o_n_e, which uses the
  304.           traditional RCS format of UTC without any time zone indication and
  305.           with slashes separating the parts of the date; otherwise, times are
  306.           output in ISO 8601 format with time zone indication.  For example,
  307.           if local time is January 11, 1990, 8pm Pacific Standard Time, eight
  308.           hours west of UTC, then the time is output as follows:
  309.  
  310.                _o_p_t_i_o_n    _t_i_m_e _o_u_t_p_u_t
  311.                ----zzzz        1111999999990000////00001111////11112222 00004444::::00000000::::00000000        (_d_e_f_a_u_l_t)
  312.                ----zzzzLLLLTTTT      1111999999990000----00001111----11111111 22220000::::00000000::::00000000----00008888
  313.                ----zzzz++++00005555::::33330000  1111999999990000----00001111----11112222 00009999::::33330000::::00000000++++00005555::::33330000
  314.  
  315.           The ----zzzz option does not affect dates stored in RCS files, which are
  316.           always UTC.
  317.  
  318. FFFFIIIILLLLEEEE NNNNAAAAMMMMIIIINNNNGGGG
  319.      Pairs of RCS files and working files may be specified in three ways (see
  320.      also the example section).
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  335.  
  336.  
  337.  
  338.      1) Both the RCS file and the working file are given.  The RCS pathname is
  339.      of the form _p_a_t_h_1////_w_o_r_k_f_i_l_e_X and the working pathname is of the form
  340.      _p_a_t_h_2////_w_o_r_k_f_i_l_e where _p_a_t_h_1//// and _p_a_t_h_2//// are (possibly different or empty)
  341.      paths, _w_o_r_k_f_i_l_e is a filename, and _X is an RCS suffix.  If _X is empty,
  342.      _p_a_t_h_1//// must start with RRRRCCCCSSSS//// or must contain ////RRRRCCCCSSSS////.
  343.  
  344.      2) Only the RCS file is given.  Then the working file is created in the
  345.      current directory and its name is derived from the name of the RCS file
  346.      by removing _p_a_t_h_1//// and the suffix _X.
  347.  
  348.      3) Only the working file is given.  Then cccciiii considers each RCS suffix _X
  349.      in turn, looking for an RCS file of the form _p_a_t_h_2////RRRRCCCCSSSS////_w_o_r_k_f_i_l_e_X or (if
  350.      the former is not found and _X is nonempty) _p_a_t_h_2////_w_o_r_k_f_i_l_e_X.
  351.  
  352.      If the RCS file is specified without a path in 1) and 2), cccciiii looks for
  353.      the RCS file first in the directory ....////RRRRCCCCSSSS and then in the current
  354.      directory.
  355.  
  356.      cccciiii reports an error if an attempt to open an RCS file fails for an
  357.      unusual reason, even if the RCS file's pathname is just one of several
  358.      possibilities.  For example, to suppress use of RCS commands in a
  359.      directory _d, create a regular file named _d////RRRRCCCCSSSS so that casual attempts to
  360.      use RCS commands in _d fail because _d////RRRRCCCCSSSS is not a directory.
  361.  
  362. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  363.      Suppose ,,,,vvvv is an RCS suffix and the current directory contains a
  364.      subdirectory RRRRCCCCSSSS with an RCS file iiiioooo....cccc,,,,vvvv.  Then each of the following
  365.      commands check in a copy of iiiioooo....cccc into RRRRCCCCSSSS////iiiioooo....cccc,,,,vvvv as the latest revision,
  366.      removing iiiioooo....cccc.
  367.  
  368.           cccciiii  iiiioooo....cccc;;;;    cccciiii  RRRRCCCCSSSS////iiiioooo....cccc,,,,vvvv;;;;   cccciiii  iiiioooo....cccc,,,,vvvv;;;;
  369.           cccciiii  iiiioooo....cccc  RRRRCCCCSSSS////iiiioooo....cccc,,,,vvvv;;;;    cccciiii  iiiioooo....cccc  iiiioooo....cccc,,,,vvvv;;;;
  370.           cccciiii  RRRRCCCCSSSS////iiiioooo....cccc,,,,vvvv  iiiioooo....cccc;;;;    cccciiii  iiiioooo....cccc,,,,vvvv  iiiioooo....cccc;;;;
  371.  
  372.      Suppose instead that the empty suffix is an RCS suffix and the current
  373.      directory contains a subdirectory RRRRCCCCSSSS with an RCS file iiiioooo....cccc.  The each of
  374.      the following commands checks in a new revision.
  375.  
  376.           cccciiii  iiiioooo....cccc;;;;    cccciiii  RRRRCCCCSSSS////iiiioooo....cccc;;;;
  377.           cccciiii  iiiioooo....cccc  RRRRCCCCSSSS////iiiioooo....cccc;;;;
  378.           cccciiii  RRRRCCCCSSSS////iiiioooo....cccc  iiiioooo....cccc;;;;
  379.  
  380. FFFFIIIILLLLEEEE MMMMOOOODDDDEEEESSSS
  381.      An RCS file created by cccciiii inherits the read and execute permissions from
  382.      the working file.  If the RCS file exists already, cccciiii preserves its read
  383.      and execute permissions.  cccciiii always turns off all write permissions of
  384.      RCS files.
  385.  
  386. FFFFIIIILLLLEEEESSSS
  387.      Several temporary files may be created in the directory containing the
  388.      working file, and also in the temporary directory (see TTTTMMMMPPPPDDDDIIIIRRRR under
  389.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT).  A semaphore file or files are created in the directory
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  401.  
  402.  
  403.  
  404.      containing the RCS file.  With a nonempty suffix, the semaphore names
  405.      begin with the first character of the suffix; therefore, do not specify
  406.      an suffix whose first character could be that of a working filename.
  407.      With an empty suffix, the semaphore names end with ____ so working filenames
  408.      should not end in ____.  cccciiii never changes an RCS or working file.  Normally,
  409.      cccciiii unlinks the file and creates a new one; but instead of breaking a
  410.      chain of one or more symbolic links to an RCS file, it unlinks the
  411.      destination file instead.  Therefore, cccciiii breaks any hard or symbolic
  412.      links to any working file it changes; and hard links to RCS files are
  413.      ineffective, but symbolic links to RCS files are preserved.  The
  414.      effective user must be able to search and write the directory containing
  415.      the RCS file.  Normally, the real user must be able to read the RCS and
  416.      working files and to search and write the directory containing the
  417.      working file; however, some older hosts cannot easily switch between real
  418.      and effective users, so on these hosts the effective user is used for all
  419.      accesses.  The effective user is the same as the real user unless your
  420.      copies of cccciiii and ccccoooo have setuid privileges.  As described in the next
  421.      section, these privileges yield extra security if the effective user owns
  422.      all RCS files and directories, and if only the effective user can write
  423.      RCS directories.  Users can control access to RCS files by setting the
  424.      permissions of the directory containing the files; only users with write
  425.      access to the directory can use RCS commands to change its RCS files.
  426.      For example, in hosts that allow a user to belong to several groups, one
  427.      can make a group's RCS directories writable to that group only.  This
  428.      approach suffices for informal projects, but it means that any group
  429.      member can arbitrarily change the group's RCS files, and can even remove
  430.      them entirely.  Hence more formal projects sometimes distinguish between
  431.      an RCS administrator, who can change the RCS files at will, and other
  432.      project members, who can check in new revisions but cannot otherwise
  433.      change the RCS files.
  434.  
  435. SSSSEEEETTTTUUUUIIIIDDDD UUUUSSSSEEEE
  436.      To prevent anybody but their RCS administrator from deleting revisions, a
  437.      set of users can employ setuid privileges as follows.
  438.  
  439.      +o Check that the host supports RCS setuid use.  Consult a trustworthy
  440.        expert if there are any doubts.  It is best if the sssseeeetttteeeeuuuuiiiidddd(((()))) system
  441.        call works as described in Posix 1003.1a Draft 5, because RCS can
  442.        switch back and forth easily between real and effective users, even if
  443.        the real user is rrrrooooooootttt.  If not, the second best is if the sssseeeettttuuuuiiiidddd(((())))
  444.        system call supports saved setuid (the {_POSIX_SAVED_IDS} behavior of
  445.        Posix 1003.1-1990); this fails only if the real user is rrrrooooooootttt.  If RCS
  446.        detects any failure in setuid, it quits immediately.
  447.  
  448.      +o Choose a user _A to serve as RCS administrator for the set of users.
  449.        Only _A will be able to invoke the rrrrccccssss command on the users' RCS files.
  450.        _A should not be rrrrooooooootttt or any other user with special powers.  Mutually
  451.        suspicious sets of users should use different administrators.
  452.  
  453.      +o Choose a pathname _B that will be a directory of files to be executed by
  454.        the users.
  455.  
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  467.  
  468.  
  469.  
  470.      +o Have _A set up _B to contain copies of cccciiii and ccccoooo that are setuid to _A by
  471.        copying the commands from their standard installation directory _D as
  472.        follows:
  473.  
  474.           mmmmkkkkddddiiiirrrr  _B
  475.           ccccpppp  _D////cccc[[[[iiiioooo]]]]  _B
  476.           cccchhhhmmmmoooodddd  ggggoooo----wwww,,,,uuuu++++ssss  _B////cccc[[[[iiiioooo]]]]
  477.  
  478.      +o Have each user prepend _B to their path as follows:
  479.  
  480.           PPPPAAAATTTTHHHH====_B::::$$$$PPPPAAAATTTTHHHH;;;;  eeeexxxxppppoooorrrrtttt  PPPPAAAATTTTHHHH  # ordinary shell
  481.           sssseeeetttt  ppppaaaatttthhhh====((((_B  $$$$ppppaaaatttthhhh))))  # C shell
  482.  
  483.      +o Have _A create each RCS directory _R with write access only to _A as
  484.        follows:
  485.  
  486.           mmmmkkkkddddiiiirrrr  _R
  487.           cccchhhhmmmmoooodddd  ggggoooo----wwww  _R
  488.  
  489.      +o If you want to let only certain users read the RCS files, put the users
  490.        into a group _G, and have _A further protect the RCS directory as
  491.        follows:
  492.  
  493.           cccchhhhggggrrrrpppp  _G  _R
  494.           cccchhhhmmmmoooodddd  gggg----wwww,,,,oooo----rrrrwwwwxxxx  _R
  495.  
  496.      +o Have _A copy old RCS files (if any) into _R, to ensure that _A owns them.
  497.  
  498.      +o An RCS file's access list limits who can check in and lock revisions.
  499.        The default access list is empty, which grants checkin access to anyone
  500.        who can read the RCS file.  If you want limit checkin access, have _A
  501.        invoke rrrrccccssss ----aaaa on the file; see rrrrccccssss(1).  In particular, rrrrccccssss ----eeee ----aaaa_A
  502.        limits access to just _A.
  503.  
  504.      +o Have _A initialize any new RCS files with rrrrccccssss ----iiii before initial checkin,
  505.        adding the ----aaaa option if you want to limit checkin access.
  506.  
  507.      +o Give setuid privileges only to cccciiii, ccccoooo, and rrrrccccsssscccclllleeeeaaaannnn; do not give them
  508.        to rrrrccccssss or to any other command.
  509.  
  510.      +o Do not use other setuid commands to invoke RCS commands; setuid is
  511.        trickier than you think!
  512.  
  513. EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  514.      RRRRCCCCSSSSIIIINNNNIIIITTTT
  515.           options prepended to the argument list, separated by spaces.  A
  516.           backslash escapes spaces within an option.  The RRRRCCCCSSSSIIIINNNNIIIITTTT options are
  517.           prepended to the argument lists of most RCS commands.  Useful
  518.           RRRRCCCCSSSSIIIINNNNIIIITTTT options include ----qqqq, ----VVVV, ----xxxx, and ----zzzz.
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                                                                         PPPPaaaaggggeeee 8888
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. CCCCIIII((((1111))))                                                                    CCCCIIII((((1111))))
  533.  
  534.  
  535.  
  536.      TTTTMMMMPPPPDDDDIIIIRRRR
  537.           Name of the temporary directory.  If not set, the environment
  538.           variables TTTTMMMMPPPP and TTTTEEEEMMMMPPPP are inspected instead and the first value
  539.           found is taken; if none of them are set, a host-dependent default is
  540.           used, typically ////ttttmmmmpppp.
  541.  
  542. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  543.      For each revision, cccciiii prints the RCS file, the working file, and the
  544.      number of both the deposited and the preceding revision.  The exit status
  545.      is zero if and only if all operations were successful.
  546.  
  547. IIIIDDDDEEEENNNNTTTTIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  548.      Author: Walter F.  Tichy.
  549.      Manual Page Revision: 5.7; Release Date: 1998/01/12.
  550.      Copyright c 1982, 1988, 1989 by Walter F.  Tichy.
  551.      Copyright c 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert.
  552.  
  553. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  554.      co(1), ident(1), make(1), rcs(1), rcsclean(1), rcsdiff(1), rcsintro(1),
  555.      rcsmerge(1), rlog(1), rcsfile(4), RCSsource(5).
  556.  
  557.      Walter F. Tichy, RCS--A System for Version Control, _S_o_f_t_w_a_r_e--_P_r_a_c_t_i_c_e &
  558.      _E_x_p_e_r_i_e_n_c_e 11115555, 7 (July 1985), 637-654.
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                                                         PPPPaaaaggggeeee 9999
  592.  
  593.  
  594.  
  595.